Remove a debugging printf.
authorMatthias Clasen <mclasen@redhat.com>
Tue, 18 Oct 2005 02:54:55 +0000 (02:54 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 18 Oct 2005 02:54:55 +0000 (02:54 +0000)
2005-10-17  Matthias Clasen  <mclasen@redhat.com>

* xdgmime.c (xdg_mime_get_mime_type_for_file): Remove
a debugging printf.

gtk/xdgmime/ChangeLog
gtk/xdgmime/xdgmime.c

index 0c8a7a79cf2f188b37282995ea79c6546e62324d..3c5223a4e65705f04cfdc83f9f6eaebb5adc17c3 100644 (file)
@@ -1,3 +1,8 @@
+2005-10-17  Matthias Clasen  <mclasen@redhat.com>
+
+       * xdgmime.c (xdg_mime_get_mime_type_for_file): Remove
+       a debugging printf.
+
 2005-09-01  Matthias Clasen  <mclasen@redhat.com>
 
        * xdgmime.h:
index bc8eeaf01ade8718fd5287ed5fd6a7203695168f..897ef9b385f4cc262c2d5fe8c166b6318d8dd397 100644 (file)
@@ -481,8 +481,6 @@ xdg_mime_get_mime_type_for_file (const char  *file_name,
 
       statbuf = &buf;
     }
-  else
-    printf ("don't restat\n");
 
   if (!S_ISREG (statbuf->st_mode))
     return XDG_MIME_TYPE_UNKNOWN;
@@ -495,7 +493,7 @@ xdg_mime_get_mime_type_for_file (const char  *file_name,
   if (data == NULL)
     return XDG_MIME_TYPE_UNKNOWN;
         
-      file = fopen (file_name, "r");
+  file = fopen (file_name, "r");
   if (file == NULL)
     {
       free (data);